import type { App } from 'vue';
import copyText from './common/copyText';
import { hasPermi, hasRoles } from './permission';

export function setupDirective(app: App) {
    app.directive('copyText', copyText);
    app.directive('hasPermi', hasPermi);
    app.directive('hasRoles', hasRoles);
}
